package com.ss.android.article.base.feature.detail.presenter;

public final class CommentTabCache {
    public final long itemId;
    public final boolean[] load;
    public ArticleTabComment[] mArticleTabComments;

    public CommentTabCache(long itemId) {
        this.load = new boolean[]{false, false};
        this.itemId = itemId;
        this.mArticleTabComments = new ArticleTabComment[2];
        this.mArticleTabComments[0] = new ArticleTabComment();
        this.mArticleTabComments[1] = new ArticleTabComment();
    }

    public final boolean removeCommnet(long id) {
        if (1 >= 0 && id > 0) {
            boolean removeSuccess = this.mArticleTabComments[0].removeComment(id);
            boolean removeSuccess2 = this.mArticleTabComments[1].removeComment(id);
            if (removeSuccess || removeSuccess2) {
                return true;
            }
        }
        return false;

    }
}

